package com.ruoyi.system.mc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/*
 *  @author 雨安
 *  类名： McShopCart
 *  创建时间：2024/5/29 购物车表
 */
@Data//getter+setter+toString
@AllArgsConstructor//有参
@NoArgsConstructor//无参
@TableName("mc_shop_cart")//表名
public class McShopCart extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long carId; //购物车主键ID，注意这里使用了Long类型，因为bigint在Java中通常映射为Long

    private Long userId; //用户ID

    private Double productPrice; //商品单价

}
